package fms.msgupcenter.protocols.uplinkmsg;

/**
 * Created with IntelliJ IDEA.
 * User: adcc
 * Date: 14-6-10
 * Time: 下午1:48
 * To change this template use File | Settings | File Templates.
 */

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

/**
 *  上行报文协议
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class WindMessage {
    @XmlAttribute(name="type")
    private String skylinkType;// SkyLink协议的类型
    @XmlAttribute(name="version")
    private String version;
    @XmlElement(name="head")
    private WindMsgHead head;

    public WindMessage()
    {
        skylinkType = "UPLINKACK";
        version = "3.0";
    }

    public String getSkylinkType() {
        return skylinkType;
    }

    public void setSkylinkType(String skylinkType) {
        this.skylinkType = skylinkType;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public WindMsgHead getHead() {
        return head;
    }

    public void setHead(WindMsgHead head) {
        this.head = head;
    }
}
